import request from '@/utils/request'

// 查询采购参数设置
export function indexPurchaseConfig() {
  return request({
    url: '/system/purchaseConfig/index',
    method: 'get'
  })
}

// 修改采购参数设置
export function updatePurchaseConfig(data) {
  return request({
    url: '/system/purchaseConfig',
    method: 'put',
    data: data
  })
}
